//
//  Utente.h
//  InterventixApp
//
//  Created by Diego Falcinelli on 08/05/13.
//
//

#import <Foundation/Foundation.h>

@interface Utente : NSObject

@property (nonatomic,retain) NSNumber *idutente,*revisione;
@property (nonatomic,retain) NSString *nome,*cognome,*username,*password,*email,*tipo;
@property (nonatomic) BOOL cancellato, cestinato;


-(NSMutableDictionary *) convertToDictionary;
-(void) readFromMutableDictionary:(NSMutableDictionary *)diz;
-(void) readFromDictionary:(NSDictionary *)diz;
-(void) load;

+(Utente *) createFromDictionary:(NSDictionary *)diz;

-(unsigned long long) hashcode;
@end
